namespace STD.Shared.Common.Enums;

/// <summary>
/// 服务状态枚举
/// </summary>
public enum ServiceStatus
{
    /// <summary>
    /// 未知
    /// </summary>
    Unknown = 0,
    
    /// <summary>
    /// 健康
    /// </summary>
    Healthy = 1,
    
    /// <summary>
    /// 不健康
    /// </summary>
    Unhealthy = 2,
    
    /// <summary>
    /// 降级
    /// </summary>
    Degraded = 3
}

public enum HealthCheckType
{
    Database,
    Cache,
    ExternalService,
    MessageQueue
} 